#{extends 'assistant_main.html' /}


#{set "moreStyles"}
<link rel="stylesheet" type="text/css" media="screen"
      href="@{'/public/stylesheets/jquery-ui/pepper-grinder/jquery.ui.all.css'}" />

<style type="text/css">
    /*body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;}*/
    .demoHeaders { margin-top: 2em; }
    #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
    #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
    ul#icons {margin: 0; padding: 0;}
    ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
    ul#icons span.ui-icon {float: left; margin: 0 4px;}
</style>
#{/set}


#{set 'moreScripts'}
<script src="@{'/public/javascripts/jquery/jquery-ui-1.8.16.custom.min.js'}"></script>

<script type="text/javascript">
    $(function(){

        // Tabs
        $(function() {
            $( "#tabs" ).tabs({
                ajaxOptions: {
                    error: function( xhr, status, index, anchor ) {
                        $( anchor.hash ).html(
                                "Couldn't load this tab. We'll try to fix this as soon as possible. " +
                                        "If this wouldn't be a demo." );
                    }
                }
            });
        });

        // Dialog
        $('#dialog').dialog({
            autoOpen: false,
            width: 600,
            buttons: {
                "确定": function() {
                    $(this).dialog("close");
                },
                "取消": function() {
                    $(this).dialog("close");
                }
            }
        });

        // Dialog Link
        $('#dialog_link').click(function(){
            $('#dialog').dialog('open');
            return false;
        });
    });
</script>
#{/set}




<h1 id="title">省市区</h1>
<div class="light_bar">
	系统目标：辅助和支持现场人员诊断和维修故障
</div>

<!-- Tabs -->
<div id="tabs">
    <ul>
        <li><a href="#province_tab">省份</a></li>
        <li><a href="#city_tab">城市</a></li>
        <li><a href="#county_tab">区县</a></li>
    </ul>


    <div id="province_tab">
        <table id="province_list">
            <thead>
            <tr>
                <th class="main">名称</th>
                <th class="main">键值</th>
                <th class="main">省市区全称</th>
                <th class="main">上级地区</th>
                <th class="main" width="80px">创建时间</th>
                <th class="main" width="80px">最近更新</th>
                <th width="100px">操作</th>
            </tr>
            </thead>
            <tr>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">
                    <a class="link_as_button" href="#" >编辑</a>
                    <a class="link_as_button" href="#">删除</a>
                </td>
            </tr>
            <tr>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">
                    <a class="link_as_button" href="#" >编辑</a>
                    <a class="link_as_button" href="#">删除</a>
                </td>
            </tr>
            <tr>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">
                    <a class="link_as_button" href="#" >编辑</a>
                    <a class="link_as_button" href="#">删除</a>
                </td>
            </tr>
            <tr>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">.</td>
                <td class="main">
                    <a class="link_as_button" href="#" >编辑</a>
                    <a class="link_as_button" href="#">删除</a>
                </td>
            </tr>
        </table>

    </div>



    <div id="city_tab">
        <table id="city_list">
                    <thead>
                    <tr>
                        <th class="main">名称</th>
                        <th class="main">键值</th>
                        <th class="main">省市区全称</th>
                        <th class="main">上级地区</th>
                        <th class="main" width="80px">创建时间</th>
                        <th class="main" width="80px">最近更新</th>
                        <th width="100px">操作</th>
                    </tr>
                    </thead>
                    <tr>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">
                            <a class="link_as_button" href="#" >编辑</a>
                            <a class="link_as_button" href="#">删除</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">
                            <a class="link_as_button" href="#" >编辑</a>
                            <a class="link_as_button" href="#">删除</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">
                            <a class="link_as_button" href="#" >编辑</a>
                            <a class="link_as_button" href="#">删除</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">.</td>
                        <td class="main">
                            <a class="link_as_button" href="#" >编辑</a>
                            <a class="link_as_button" href="#">删除</a>
                        </td>
                    </tr>
                </table>
    </div>


    <div id="county_tab">
            <table id="county_list">
                <thead>
                <tr>
                    <th class="main">名称</th>
                    <th class="main">键值</th>
                    <th class="main">省市区全称</th>
                    <th class="main">上级地区</th>
                    <th class="main" width="80px">创建时间</th>
                    <th class="main" width="80px">最近更新</th>
                    <th width="100px">操作</th>
                </tr>
                </thead>
                <tr>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">
                        <a class="link_as_button" href="#" >编辑</a>
                        <a class="link_as_button" href="#">删除</a>
                    </td>
                </tr>
                <tr>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">
                        <a class="link_as_button" href="#" >编辑</a>
                        <a class="link_as_button" href="#">删除</a>
                    </td>
                </tr>
                <tr>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">
                        <a class="link_as_button" href="#" >编辑</a>
                        <a class="link_as_button" href="#">删除</a>
                    </td>
                </tr>
                <tr>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">.</td>
                    <td class="main">
                        <a class="link_as_button" href="#" >编辑</a>
                        <a class="link_as_button" href="#">删除</a>
                    </td>
                </tr>
            </table>

        </div>
</div>



<!-- Dialog NOTE: Dialog is not generated by UI in this demo so it can be visually styled in themeroller-->
<h2 class="demoHeaders">Dialog</h2>
<p><a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>Open Dialog</a></p>


<h2 class="demoHeaders">Overlay and Shadow Classes <em>(not currently used in UI widgets)</em></h2>

<div style="position: relative; width: 92%; height: 200px; padding:1% 4%; overflow:hidden;" class="fakewindowcontain">
    <p>Lorem ipsum dolor sit amet,  Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. </p><p>Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. </p><p>Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. </p><p>Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. Aliquam ante. </p><p>Suspendisse scelerisque dui nec velit. Duis augue augue, gravida euismod, vulputate ac, facilisis id, sem. Morbi in orci. Nulla purus lacus, pulvinar vel, malesuada ac, mattis nec, quam. Nam molestie scelerisque quam. Nullam feugiat cursus lacus.orem ipsum dolor sit amet, consectetur adipiscing elit. Donec libero risus, commodo vitae, pharetra mollis, posuere eu, pede. Nulla nec tortor. Donec id elit quis purus consectetur consequat. Nam congue semper tellus. Sed erat dolor, dapibus sit amet, venenatis ornare, ultrices ut, nisi. </p>

    <!-- ui-dialog -->
    <div class="ui-overlay"><div class="ui-widget-overlay"></div><div class="ui-widget-shadow ui-corner-all" style="width: 302px; height: 152px; position: absolute; left: 50px; top: 30px;"></div></div>
    <div style="position: absolute; width: 280px; height: 130px;left: 50px; top: 30px; padding: 10px;" class="ui-widget ui-widget-content ui-corner-all">
        <div class="ui-dialog-content ui-widget-content" style="background: none; border: 0;">

            <p>来一句中文，看看显示效果Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
        </div>
    </div>

</div>


<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>

</div>